package com.tz.hotelmanager.mapper.impl;

import java.util.List;

import com.tz.hotelmanager.domain.Floor;
import com.tz.hotelmanager.domain.FloorExample;
import com.tz.hotelmanager.mapper.FloorMapper;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class FloorMapperImpl implements FloorMapper {

  @Autowired 
  FloorMapper floorMapper;
  @Override
  public int countByExample(FloorExample example) {
    // TODO Auto-generated method stub
    return floorMapper.countByExample(example);
  }

  @Override
  public int deleteByExample(FloorExample example) {
    // TODO Auto-generated method stub
       return floorMapper.deleteByExample(example);

  }

  @Override
  public int deleteByPrimaryKey(Integer id) {
    // TODO Auto-generated method stub
       return floorMapper.deleteByPrimaryKey(id);

  }

  @Override
  public int insert(Floor record) {
    // TODO Auto-generated method stub
       return floorMapper.insert(record);

  }

  @Override
  public int insertSelective(Floor record) {
    // TODO Auto-generated method stub
       return floorMapper.insertSelective(record);

  }

  @Override
  public List<Floor> selectByExample(FloorExample example) {
    // TODO Auto-generated method stub
       return floorMapper.selectByExample(example);

  }

  @Override
  public Floor selectByPrimaryKey(Integer id) {
    // TODO Auto-generated method stub
       return floorMapper.selectByPrimaryKey(id);

  }

  @Override
  public int updateByExampleSelective(Floor record, FloorExample example) {
    // TODO Auto-generated method stub
       return floorMapper.updateByExampleSelective(record,example);

  }

  @Override
  public int updateByExample(Floor record, FloorExample example) {
    // TODO Auto-generated method stub
       return floorMapper.updateByExample(record,example);

  }

  @Override
  public int updateByPrimaryKeySelective(Floor record) {
    // TODO Auto-generated method stub
       return floorMapper.updateByPrimaryKeySelective(record);

  }

  @Override
  public int updateByPrimaryKey(Floor record) {
    // TODO Auto-generated method stub
       return floorMapper.updateByPrimaryKey(record);
  }
}